from ftllibs.items.itemtools import ItemIconData

class Item_3075():
    def __init__(self):
        self.parent=False
        self.Name="Thornmail"
        self.IconFileName="3075.png"
        self.ID=3075
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1029','1031']
        self.Builds_Into=[]
        self.Tags=['armor']
        self.Costs = 1000
        self.Total_Costs = 2000
        self.Description="+100 Armor  UNIQUE Passive: On being hit by basic attacks, returns 30% of damage taken as magic damage."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["summonersrift","dominion","provinggrounds"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Armor += 100.0
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

